import createAxios from '@/utils/axios'

/**
 * 管理员列表
 * @param searchType 
 * @param searchText 
 */
export function adminListApi(searchType: string, searchText: string) {
    return createAxios({
        url: '/api/admin/list',
        data: { searchType, searchText },
        method: 'post'
    }, {
        loading: true,
        codeMessageShow: true
    })
}